toString, toStringReverse, append, and prepend methods written. prepend
does not work because of passing by value problem.