Modified various chap1 exercises and added chap2 directory with ex2-1.c