Recursive function added to polygon pi approximation as bonus track