Final PA4 tested code [bubble sort]