implemented isAdjacentToLocation