Refactored and extracted method ReadInputCoordinates(int sizeOfField).