Self study of data structure using java