Uploaded generic code to build smoothed 2-gram and 3-gram models from data.