to find the hcf and lcm of two numbers