Added reverse string algorithms