Added randomize function and prelim Hot/Cold test