changed checkDiagonal() function... mostly cosmetic (changed if statements to for and so on)
... tests still work.

also added two comments
Merge branch 'master' of github.com:Hopurinn/Tic-tac-toe