Update bubble.cpp