USD 259, teachers reach contract agreement