fixed placeBoats() and overlapping problem