added LCM and use of GCD