a-star/1_a.cpp
std::vector<State> ParseLine(std::string line) {
    std::istringstream sline(line); // input stream
    int n; // target variable to store parsed integers
    char c; // target variable to parse char delimmiter

    vector<State> row;
    while(sline >> n >> c && c == ',') {
        if (n == 0) row.push_back(State::kEmpty);
        else row.push_back(State::kObstacle);
    }
    return row;
}
/**
 * @brief funtion to parse lines from input gridworld
 * 
 * @param line Row from Gridworld matrix
 * @return std::vector<State> 
 */
@brief funtion to parse lines from input gridworld

@param line Row from Gridworld matrix
@return std::vector
@brief funtion to parse lines from input gridworld @param line Row from Gridworld matrix @return std :: vector
std::vector<State> ParseLine(std::string line) {
    std::istringstream sline(line); 
    int n; 
    char c; 
    vector<State> row;
    while(sline >> n >> c && c == ',') {
        if (n == 0) row.push_back(State::kEmpty);
        else row.push_back(State::kObstacle);
    }
    return row;
}
std :: vector < State > ParseLine ( std :: string line ) { std :: istringstream sline ( line ) ; int n ; char c ; vector < State > row ; while ( sline >> n >> c && c == ' ' ) { if ( n == 0 ) row . push_back ( State :: kEmpty ) ; else row . push_back ( State :: kObstacle ) ; } return row ; }
@brief funtion to parse lines from input gridworld
@brief funtion to parse lines from input gridworld
// input stream // target variable to store parsed integers // target variable to parse char delimmiter