added a main to test runtimes, and added a class for a few sorting algorithms