removed redundant files & added basic functionality to precedence graph