Created isX function that tells us if it is x's game or not