Update prototype.py

added logic room, added comments