Write multiplication program