A man sits in a jail. It has four walls, a big wooden door and a small open window high in the room beyond reach. An old man is trapped inside. He starts to think of escaping and starts digging below the the wooden door. He keeps digging for 2 hours, then stops and thinks to himself that there is no other way. After a minute of doing nothing, he has an idea and keeps digging. What did he think about?