Ernest Crim III shares how racism inspired his book and made him a TikTok historian