#include <iostream>
#include <string>
#include <vector>
std::vector<std::string> pathBranch(std::string dissectionString) {
int slash = 0;
std::string newStr = dissectionString;
std::vector<std::string> v;
while (newStr.length() > 0) {
slash = newStr.find("/");
std::cout<<"SLASH IS AT:"<<slash<<'\n';
v.push_back(newStr.substr(0, (slash - 1)));
std::cout<<newStr.substr(0, (slash - 1))<<'\n';
newStr = newStr.erase(0, (slash+1));
std::cout<<"THE NEW STRING IS: "<<newStr<<'\n'<<'\n'<<'\n';
}
return v;