Largest Integer Function Python