Implementation doubly-linked list and applications with gui