Add start of solving pieces.

Doesn't work yet :)