Creating the toString method