Added algs4 stuff