Design and analysis of computer algorithms. - Aho Alfred V (Reading Addison-Wesley, 1974)