Added example showing a more complicated program.