Change some int types to size_t

Since they're indices for arrays.
Remove redundancy in finding start/end points of a token
Switch label/address names to statically allocated memory
Add test file to test for label length errors