A stupid sparse matrix implementation in C