Complete conversion of nums module
Complete conversion of recursion module