Finished fucntions with work on recursion.
Some overloading and on the verge of templates.