A Matrix class in C