added toposort, lcs, sort, boyer moore