broken output printout first exercise