removed key extraction functions and added annotation
added termination criterion to flink and spark page rank