Just for fun; some initial recursive function implementations.