Update environment.py

add some comments