little fixed to linkedlist, added pop