Add bubble sort

Added a bubble sort algorithm. Sometimes the test executable's assertion
fails which likely has to do with my being bad at C.