Karnaugh map simulator.