add ArrayLists and LinkedLists
add ordered subsequences