fixed problems in random_row and random_col

removed -1 from max range and changed col from board[0] to board.