fixed bug with random filling the gameboard