Implemented merge and bubble. Could add others