Implemented the toString method.