Wrote bubble and merge sorts