Some implemenations of fundamental data structures using java