Added GCD function
Added factorial function and its tail recursive implementation