adds TactGraph example code
adds javadocs