Naive Bayes Algorithm using Shell script