Update rgr.py

found a bug in add_node/add_edge. i need to get this git thing figured out