Add naive increment/decrement
Fix endless loop in gcd