public class Coords {

  final int row;
  final int col;

  public Coords() {
    row = -1;
    col = -1;
  }

  public Coords(int r, int c) {
    row = r;
    col = c;
  }

  public boolean equals(Coords c) {
    return (this.row == c.row) & (this.col == c.col);
  }

  public String toString() {
    return "(" + row + "," + col + ")";
  }
}
