Added maximum row tests/sampling

Now limits users to a specified number of rows. If they submit more than the allowed amount, it randomly samples them.