exercise 1 changing puts to print