Create leafPattern.py