Added content to scanner.cpp. In the process of building stateMatrix.