adding in class code for euclide's algorithm for greatest common denominator