Modeling a DNA strand with a linked list

part of DNA assignment