Create usefulAlgorithms.java