H.C.F with continued division method