Finished lab with implemented listSplit