Brute force approach to solving a puzzle found whilst at Bletchley Park