Assume we have a pointer " LAST " which point to the last pointer
and we know LAST --> next = NULL
we create a new pointer called NEW and add it to end of LL
so we hv to modify following pointers :
LAST --> next = NEW
NEW --> prev = LAST
NEW --> next = NULL