add getRandomPiece function to Board