Multiplication table with C++