Add mandel.py

Initial commit.