Fill in the move method for the Battleship class. It takes one parameter, a boolean indicating if it is safe to move forward. If it is safe to move forward, the position of the ship should increase by 5. If it is not safe to move forward, the position of the ship should decrease by 5.