Implementation of MerkleHellman using Doubly Linklist