Python script for illustrating Convolutional Neural Networks (CNN) using Keras-like model definitions