Create string to int compression and match table

Create method to change strings to integers. Add functions to take
frequency tables and convert strings to integers.