Initial working version of tic tac toe
Slightly nicer way of checking tic tac toe win condition