exercise 3 and tidy up
ex 3 Julia set working