simple page rank program to solve quiz