Nanoscale Magnetic Imaging with a Single Nitrogen-Vacancy Center in Diamond