finished the getGCD method. it will accept any numeber integers in an
arraylist and find the GCD if there is one. The method has not been
implemented in the main code.