Adding cdpwalker.py  I will leave the original authors comments attached as I modify for my own needs.