Wrote linked list classes from scratch