+working CA

from The Nature of Code - Daniel Shiffman