Source code for the X Recommendation Algorithm