Created linkList class