Compares coordinate to another Object.
true if other object is Coordinate and xCoord == other.xCoord &&yCoord == other.yCoord.
true