Add factorial and factorial two programs