Made the csearch function use c++ library sets of type string. I should probably make those functions use proper c++ strings too for ease of syntax etc but meh I'm lazy right now