Working bubble.c