Implemented toString() method to assist with testing.