create solution for multiplication table