The Origins of Socialist Thought in Japan