fix random number generator
fix some tests, start finding a regression
fix lack of setting random seed
all tests pass
remove calls to free
merge dseq and cseq
finish merge dseq and cseq
fix bugs
trying to fix the tests/resources/* tests.
all formal tests pass