Helper fns + first 'random' edge weight graph