Wrote logic for Graph cloning problem. Untested. Officially working in
Java 1.8