Added Phalanx detection

Checks for adjacent pieces and adds them to selected phalanx array.