Add bubble sort program
Fix bug where 0 gets returned when u == 0 || v == 0