Initial upload - iPython notebook for making diagrams.