Added availablePositions() for rook,bishop, queen and king