created first example
added program 2 and 3