added reverse words in place

still need to add two more solutions