randomChoice in Erdos-Renyi changed to choice on HashSet