Least Common Multiple using Long Division