Added small interactive layer to sage.py