Create chap2_lib.h

Chap2 lib file has String manipulations functions and required functions to solve exercise for Chap 2.