Random Integer Function In Python