Python Greatest Common Factor