update generate_coin_networks so it runs much faster. Do not update the index everytime each edge is added. instead keep track of network in an in-memory dicts and construct it when new coin is mentioned. Changed definition of edge weight to co-appearance too.