Smart cat learns how to cross a bridge full of water