Create monitor.py

a manager to handle a serial monitor on the port /dev/ttyAMA0 of the raspberry pi