add correct solutions for uva 10004 with graphviz output