Cryptogram solver written in Scala