I have a function which works when I use the following implementation of merge:
void merge(vector& A, int start, int mid, int end) { int n1