created cli script to calculate next best move

fixed broken (and otherwise unused) parse_string