The Yang Baxter equation: origins and connection to symmetric functions