@Override
	public boolean equals(Object obj) {
		Coordinate c1;
		boolean result = false;
		
		if(obj instanceof Coordinate){
			c1 = (Coordinate)obj;
			if(this.X == c1.X && this.Y == c1.Y){
				result = true;
			}
		}
		else{
			result = false;
		}
		
		return result;
	}