First draft of a simple kernel (language backend) for IPython written in Python; doesn't work