Fixed bubble sort bug and readme update

Bubble sort wont get stuck in an infinite loops when it finds duplicate
integers.