Former Sycamore teacher avoids jail time for relationship with student