contains the final two exercises - an array and a sorted list