Added example code for challenge 1 (fence.py)