Implementations of different Search&Sorting algorithms in Java&Python