Add bubble sort algorithm implementation.
Add utils functions for often common operations.