added constraints on placing ships outside of the board