A helpful calculator about whether you should rent or buy a home from The New York Times.