Add isAdjacent function
Used to check if two allies are adjacent and have not fainted