added outline of basic diff algorithm