solve multiplication-table