what did thomas jefferson do for a living