Added moveLeft and moveright methods