added a perlin noise accel - chapter 1 exercise 6