Create ResolveDag.java