Got merge and bubblesort working