compile with: g++ -std=c++14 -O2 -Wall -pedantic -pthread main.cpp run: ./a.out benchmark: time ./a.out