added lm_cost, dicts use tuples
Merge branch 'master' of https://github.com/aukejw/alt-ram2013