added: random graphs generator