Added comments
Made changes in the calling the main function
Adding doubly linked list