updated formatting of output

Solution works.