Implemented commented out functions which can be helpful (when uncommented) to diagnose the (de)cipher process

The commented out functions just output the state of the network in the intermediate steps.