The file contains simple code which gives some output . You have to track the pattern of the output and create a simple reursion function. You need to CREATE a simple RECURSION FUNCTION