Create mimic.py

first function is working.