hanlding the and
finished nwords fuction
added '.py' file ext