Working! Debug with gdb and valgrid right now. Will try tester later.