merge for finalisation of assignment 2 code
added "encode_word" and "encode_sentance" functions and extended the dictionary to include basic punctuations
added "encode_word" and "encode_sentance" functions and extended the dictionary to include basic punctuations