Start implementing getAttackedPositions for pieces