Barebones solver for homophonic ciphers