fixed cycle checking method

-removed old classhierarchy.java
-removed hierarchy.txt (the newest one is in ast/[hierarchy].txt