Added documentation for state.py and some documentation for instructions.py Need to finish documentation