Define the function g: R -> R by g(x) = x^2 if x is rational and -x^2 if x is irrational. At what points is the function continuous? Justify your answer.