stopped printWord function from going one character too far