Create buildNodes.py

Build Eulerian path nodes.