week1: bubble-sort implementation in ruby