Hefty changes to ass1.flex: it now passes all Justitia tests.