git ignore 'sample_output'
better printing, bug fixes, and ensure dumping of remaining lines