Quine–McCluskey algorithm on C89 standart