Graph generator
Measuring time