lighter version of Hw4
graph dumps are added