Finally added the changes for functionality of the add, delete,check
command functions. Now if only i can debug that Segmentation Fault
phew..