NimbleFish Interview Bubble Sort Problem Solution