An algorithm library built in java