exercise 2 test passes and it now prints properly