added a move_right and move_up function