Implemented class.
Added toString.