Algorithm to synthesize scale-free graphs that resemble dependency graphs extracted from Java source code