North Dakota trial for man accused of killings goes to jury