Update working code

This is working code of a bubblesort program. The problem is that I didn't write it and it has to use the starter code that I was given.