Greatest Common Factor Python