They met in prison, at the Bayview Correctional Facility in Manhattan, where in 2006, Mateo, an insouciant and streetwise 19-year-old, was serving a three- to nine-year sentence for assault.