Topological Data Analysis and its Application to Chemical Systems