Plugged the recursive flag into the program