Create bubble_sort.cpp

Basic bubble sort with some optimizations