Create monitor.py

First version