sem2hw2task1: Little changes to the implementation of array-based linked list to improve readability.