fixed segfault
everything ready for space algorithm
row space implemented and some changes made