Added size-comparison to tokenizaiton so that largest tokens were given higher priority (ie: to make precedence system more logical). Added additional test and improved Python support.