Got the generator elimination working.

Finally got the generator elimination working. It should now only
include rows that are linerally independant.
Added free function to hamming

Make sure to free the matries and the pointers.