Arise error with recursion solution, RED