added template class complex<T> to complex.hpp