a simple karnaugh map renderer