Data structure C++ program Bubble sorting 3 kinds