Data Structures Lab1 (Java)