Implementation of nanocube spatio-temporal indexing in Java