code: public boolean canMerge(Space other) {
  		if (!hasJoinedEdge(other)) {
  			return false;
  		}
  		
  		if ((x == other.x) && (width == other.width)) {
  			return true;
  		}
  		if ((y == other.y) && (height == other.height)) {
  			return true;
  		}
  		
  		return false;
  	}
docs: Check if the given space can be merged with this one. It must have
  an adjacent edge and have the same height or width as this space.
  
  @param other The other space to be considered
  @return True if the spaces can be joined together