new shared.cpp file for sorts used in other sorts

Moved count and insertion sort into shared
count_sort compiles into a program again
Fixed insert_sort giving wrong values for first element
Bucket sort implementation
Improved and fixed outdated comments
Fixed count and radix sort seg faults on empty input
Merge branch 'dev'