Create recursive_calculate.sh