The most important algorithms in java