refactoring
added some new example progs
fixed new example progs
fixed new example progs 2.0