I listed all the possible winning patterns for tic tac toe including
the rows, columns, and diagonals. then the code goes through each pattern to check
and see if they all have the same symbol. whatever the first position is, it
checks to see if the second position is the same and then the third.
If all 3 are the same symbol then we have true and if not then false.
It was a bit overwhelming to read this much code that someone else has
written. A strategy that made this easier for me was to break up the larger
code into smaller sections and seeing how each one interacted with each other.