Working on creating an inplace mergesort, and other algo stuff