first commit
figured out how to test errors
trying topological sort
entered example structures
proper handling of  last error