How to problem-solve in your dreams