Q1) Write a program which randomly fills in 0s and 1s into TicTacToe board, prints board, and determine the rows, columns, or diagonals with all 0s or 1s. Use a two-dimensional array to represent a TicTacToe board.
Here is a sample run of the program:
001
001
111
All 1's on row 2
All 1's on column 2