Update doublylinkedlist.go

Refactored out DoubleLink code.