Task - Implemented  toString() method

Implemented  toString() method