Diego's Bubble Packing code in windows version