Added BubbleSort for generic IList<T> Data

Added the optimization which reduces the length of the search space by 1 after each iteration trough the data.