Implementation of Quine–McCluskey method in C#