Added knapsack. Added ruby sorting.
Added Ruby sorting.