playing around with java data structures