added test graph file and started writing in java
switching back to ruby for now
too slow!