Finished code

Diagonals are now checked by checking their three components directly
instead of looping through all the board