small edit: IOexception spelled wrong, bracket error in setRand