Good stuff! As long as we remember that ArrayLists are zero-based, replacing (or setting) values with set() is easy.
set()
Does this really point to the second element?