A simple Python recommendation engine using weighted average of ratings with similarity as the weights