Made bubble sort work with generics
now sort does not return value, also added shuffle