Java Collections Basics - Homework