Linked list/array implementation for school