Inside the nested loop, you will need the conditional statements in order to find out which shape to draw. Then, use the drawX or drawO functions to draw 'X' or 'O'.
Both drawX and drawO functions need 3 parameters which are rowNum, colNum, window. In order to draw 'X' or 'O' in the correct spot, you should find the correct variables to put in the parameters.