adding random graph