Created UnitTable for keeping track of units.