Java revisited package created
reverse a string recursive and iteratively