Added print of gcd, updated h file