binary Gaussian elimination
answers to questions 3-5