imprements reverse(), prepend()