Practicing linked lists and loop detection

Carrying on soldier!