LiveWireDP Bug Fixed

Node* q declared at the wrong place. prevNode Added.