Update sample.cpp

Multiplication tabe added.