Pseudo Code for bubble sort completed.