added bubble sort realisation