Trying to modify class so when toString method returns in different format than given

Printable View