improved bubblesort, added comments
implemented simple mergesort
improved mergesort slightly
improved solution checking, and tidyed up mergeS
implemented quick sort, with optimisations