added logic to test for tic tac toe victory and cleaned some tableviews up