Code from my Java Data Structures Class