added extended euclidean algorithm script