Added all the pieces to the toString() method.