Makes List a random-access data structure. This simplifies the implementation and makes it easier to implement test shuffling.