Homework 5 submission

There is no reason to use new here. backingArray[calcIndex(k)] is a HashRecord, not a HashRecord*
Just do:
backingArray[calcIndex(k)].k = k;
backingArray[calcIndex(k)].x = x;
backingArray[calcIndex(k)].isDel = false;
backingArray[calcIndex(k)].isNull = false;