Added contains method to tile