whiteboarding problem and basic graph stuff, still working on SCCs