Java Application for DSA class