Now the code actually works
Added timing with libboost (installed on Mint with: sudo apt-get install libboost-all-dev)