row wise update
Merge github.com:zackw/ML_project
Merge github.com:OMGitsHongyu/ML_project
Fix reversed arguments in call to get_random_pages.