There is actually no code relating to a linked-list in that code at all.
You need a tutorial to follow. There is one on this site I believe.