OO Matrix class in C