Added strrev function.