Added print function, finished linked list implementation