adding sympy and networkx