A simple heatmap experiment in Java