CheckShipCoordinates will now swap ending and starting point so that all ships go from left to right and from up to down