Version 1.3 by qqwref.

http://www.speedsolving.com/forum/showthread.php?44457-ksolve-v1-0-general-purpose-algorithm-finder&p=923450&viewfull=1#post923450
Merge v1.3.