Simple matrix class example written in C++.