Added logic to find first basic matrix
Change from bool to int array
Merge pull request #3 from majense77/Rebecca

Rebecca