Added Java Code

This is added java oct-tree generic to the project