Added a check for intersection on the right when placing a ship