A man falls down a well. It's hundreds of feet deep and smooth on all sides. There is no way he can climb up to get out and there are no windows or doors he can use. He looks in his pockets and realizes all he has are a pack of cigarettes and some matches. How does he get out?