Word reverse - Algorithm night 3/25/2014