due 11/8
In class we worked on the BetterArray class that
keeps track of length for us. For the homework, make the
following test code work.
BetterArray ba;
ba.append(7);
ba.append(14);
ba.append(3);
ba.append(-6);
ba.print(); // should print [7, 14, 3, -6]
int position = ba.find(3);
cout << "position is " << position << endl; // should print "position is 2"
position = ba.find(187);
cout << "position is " << position << endl; // should print "position is -1"