Java excercises on data structures.