implement reverse()
document reverse()