Added tests for bubble sort
Changed the structure of the sorted array to allow for lists with more than 10 items
Added isNumber function. More accurate than parseInt.