Update Residential.py

including transition()