Basic scoring of links.

Scoring functions will go to utils.scoring.  Currently, the algorithm
of HackerNews is implemented.
Add some comments.

The code was put together in a dirty way.  Just try and help the
future self.