Most basic functions of linkedlist