WebMining Exercise 4 (Algorithm implementation)