samples: Beginnings of example trainer in GNU C.