Program that can solve a puzzle found at Bletchley Park