In reply to confused kid:
please use code tags to format your code. I have done that for you in the example above. Also, try to make your example correct syntactically, or place comments in the spots that are pseudo-code.
There is no special trick for randomizing an array of integers, you just declare it as rand, or you can call randomize on it directly.
class stimulus;
rand bit[7:0] t[8];
// there's no need to constrain the elements inside [0:255] because that is the
// only range of values the array elements can hold.
endclass
I do not know what you mean by " is not taking any of my inputs" what inputs?