AreValidCoordinates() a little more refacturing