Code and files for cipher training