makeEmptyRepgrid function

Constructor for repgrid class