How to Think Ahead in Chess