added code to print out connection weights, node_list is now a List not Dict