refactored to rely less on string stripping
got rid of extraneous s variable in name()
spacing
refactored match() and dictionaries, added support for negative numbers, added ValueError exception for number that cannot be cast
to an int.