Bubble sort, Insertion sort, Selection sort, Quicksort, Heapsort, Merge sort and Radix sort implemented in Ruby