Added Solution for Partial bubble sort