Create lm.py

Developing n-gram models