Java Code for Data Structures and Algorithms