some feature added
The program is divided into 3 files. Build using Makefile