Quine McCluskey Algorithm