Smarter swapping. Add bubble sort.