check for legal rook moves
check for legal bishop moves