Working beta

Solves hard puzzles. But doesn't solve expert ones.