add drawGragh method in Gragh.java