Finished commenting createDeviceChain.py