GCD & LCM calculator

Uses Euclidean algorithm; negative inputs use absolute values.