Class Reaction rewritten, expanded and debugged + types.h change

Class Reaction now runs on tuples, which makes iteration through
its records much easier. Test added.

Type STOINT removed from types.h, deemed unnecessary.

	modified:   reaction.cpp
	modified:   reaction.h
	new file:   tests/testReaction.cpp
	modified:   types.h