#include <iostream>
#include <stdexcept>
#include "nestedsums.h"
Implementation of Nielsen's polylogs