Add O(n^2) implementation
Add exit
implement factorial in c