almost everything is working on ubuntu (my vm, though). seg faults during extra credit and infiles not working