Check the function as injection, surjection or bijection : f : Z → Z, defined by f(x) = x^2 + x