This script takes a measurement of data and converts it to bits, bytes, kilobytes, megabytes, gigabytes and terabytes.
I'm not a pro, so I'm sure there are better ways of writing this script.