I am implementing Navie Bayes and I got confused when he (the author of the tutorial I am Following) used Index And Value At That Index Interchangea