Made some minor changes

The main hashmap has been parameterixed
The nodes have a new variable name, since this becomes useful when
using a toString()