My test realisation of some data structures in Java