Fixed recursion and updated instructions
Fixed recursion and updated instructions