Some Examples of Recursion Implemented in Java