void push_back(const T& el) { if(head == nullptr) { head = tail = new node(el); } else { tail->next = new node(el); tail = tail->next; } }