WIP: puzzle solver AI.