thomas jefferson taught himself