Add cocktailSort method and fix bug in IntegerList class
Fix cocktailSort for empty list