fixed query_spill_tree
slow transition to virtual_spill_tree and test
transitioned to cstdio rather than iostream
minor changes to main (rm old train/test)