Multiplication Tables Solution