added leitor.c, although missing main while loop