Adds bubble and merge sort algorithms