added bad example program
added example that makes sense