Added copy constructor and operator for the list