added tie logic. bugs to fix: increments ties by 8 instead of by 1, calls a tie game when x or o wins on the last tile