turned into c++ instead of c for better structure with classes and better string manipulation