Chebyshev Polynomials and Generalized Complex Numbers