Java implementation of some algorithms and data structures.