fixed problem with FunctionalArrayList that was making rest() not work. needed to use length - 1 in the for loop to stop index out of bounds error
starting sampleableList. Adding constructor method to instantiate a LinkedList. This class will then be able to use all List methods by calling methods from an object of class LinkedList
added constructor method
added List methods to SampleableListImpl
starting sample method
finished sample method. But not compiling. Need to find a way to add 2 each time in a for loop
changed for loop. Compiles but don't know if it will do what i want
added junit tests to ensure SampleableList has extended List methods
wrote a complex test to test sample() test not compiling
added changes to the test
compiling apart from one error - saying i'm overriding a deprecated API