Loading and formatting data.  Initial answer for q1