How Does Recommendation Algorithm Work