Greatest Common Factor Using Lists