Redid main function to pass tables instead of mutation

user function syntax changed

(define x (generate or read from file)

(analyze-sequence x)