implemented basic movement of the ship