Program for common link list solutions