Tweaks
* Replaced if-else with switch-case
Tweaks
* Merged Shrink() code to Tokenize()
Code cleanup