finished the word printer exercise