A teenager who turned himself in to police confessed to molesting some 50 children over the past several years across Southern California, authorities said.