Experimenting with tiled maps in Java