Code style: https://gist.github.com/krotkiewicz/3134c608c91cddbf21e5#file-dict2-py.
Do more examples.