added examples/infect.c