Understanding the Enigma machine from “The Imitation Game” with 30 Lines of Ruby · HackerTrans