updated reverse each word exercise