Finished first attempt at article ranking