Added moveLeft and moveRight methods