add const
Implementing bubble sort and selection sort