Outline how to generate a cython C++ interface
the example is plotting of a simple cellular automaton (R30 rule) 
-----------------------------------------------------------------

(1) test your C++ program:
here we have standalone_cautomata.cpp
and its interface cautomata.h
[make sure that the filenames for these are not the same as .pyx files for cython!
I also suggest to have a savecopy somewhere, cython mercilessly overwrites your C++ file with
the same name.

(2) once your program works, comment out the functions you do not need, e.g. the main()
I renamed mine to cautomata.cpp

(3) Create a .pxd file (interface C++ with cython)
see file fragment: cautomata.pxd

(4) Create a .pyx file (interface cython with python)
see file fragment: automata.pyx

(5) Create a setup.py (see example)

(6) python setup.py build_ext --inplace

(7) create python test program (see file fragment runautomata.py)

(8) Pick another rule and recreate. (http://mathworld.wolfram.com/ElementaryCellularAutomaton.html)
------
(Peter Beerli beerli@fsu.edu April 2017)
