sequences are now done by recursion, program test runs