Problems with the logic of moveRight, moveDown and MoveUp fixed.