Initial working implementation of bubble sort that passes the unit tests