Finding Largest Common Factor