Add solution to HospitalManager with Doubly-linked list.