On an autumn morning in 1849, Henry David Thoreau stepped out his front door to walk the beaches of Cape Cod.