ex 1.2.1 - set random seed before generating the points