Solver for "Triangula" game - now in F#