adding swap array helper
bubble sort