update README with Algo pseudo