Java simple table class