Finished HW 1, needs gcd computation