Simple implementation of some of the most popular sorting algorithms