Shocking: How to solve any maze