Fix to_lookup_table
Add a shebang
Updated readme