fixes for issue #20

added python3 compatibility
added the pager for reddit