Born in the coastal town of Udupi, Karnataka, Jayaram struggled in school and failed an exam at the age of 13.