Converted directions over to vector and disallow backward movement