save work on code for fold():
add fold() functions, begin testing

massive amount of print debugging.
start creating correctness_tests to make everything works.