wrote code for convert bytes to pretty format, amazon interview question