added hw2.py

contains part 1.a 1.c 2.a 2.b 2.c
need to finish 1.b (non smoothed) and 1.d (interpolation backoff)
but not sure how (NLTK bugs)