added graph-of-the-gods-2.seq. getting weird bug. updated all the test cases to use Exception instead of IOException for easier handling.
formatted the code and optimized imports.