added get_all_cell function and other helper functions to netlist.py source file