Implement GCD and LCM solver.