@@ -0,0 +1,1588 @@
+// Copyright 2019 Google LLC%0A//%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0A// you may not use this file except in compliance with the License.%0A// You may obtain a copy of the License at%0A//%0A//     https://www.apache.org/licenses/LICENSE-2.0%0A//%0A// Unless required by applicable law or agreed to in writing, software%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A// See the License for the specific language governing permissions and%0A// limitations under the License.%0A%0Apackage com.google.sps.data;%0A%0Aimport java.lang.Math; %0A%0Apublic class Grid%7B%0A  private final double LIMIT_NORTH = 31.676131;%0A  private final double LIMIT_WEST = 106.441602;%0A  private final double LAT_DIFF = 0.001345;%0A  private final double LNG_DIFF = 0.00111;%0A  private double lat;%0A  private double lng;%0A  private int numOfReports; %0A%0A  public Grid(double lat, double lng) %7B%0A    this.lat  = lat;%0A    this.lng = lng;%0A  %7D%0A%0A  public double getLat() %7B%0A    return lat; %0A  %7D%0A%0A  public double getLng() %7B %0A    return lng;%0A  %7D%0A%0A  public int getNumOfReports()%7B%0A    return numOfReports;%0A  %7D%0A%0A  public void setNumOfReports(int increaseReports)%7B%0A    this.numOfReports += increaseReports;%0A  %7D%0A%0A//Converts lat and lng of a point to the x and y coordinate of the grid%0A  public int%5B%5D createFromLatLng()%7B%0A    int row = (int)((LIMIT_NORTH - lat) / LAT_DIFF);%0A    int col = (int)((LIMIT_WEST - Math.abs(lng)) / LNG_DIFF);%0A    System.out.println(%22row is: %22 + row + %22 col is: %22 + col);%0A    return new int%5B%5D %7Brow,col%7D; %0A  %7D%0A%7D%0A

Add grid class