SUDBURY — Inside the quiet, sprawling house, near the end of an empty hallway, behind a closed door, a teenager named Jordan Herzog sat alone at a computer.