Implements list.reverse; fixes issue #66.