Overriding the toString() method.