## Run instructions
Run "make report" to run all neccessary computations, generate all neccessary plots, and compile final pdf.

## Tests
The tests for task 2, 3 and 4 are located in test.cpp. The tests can be compiled to a standalone binary with "make test". The resulting "test" binary should run with exit code 0 if all tests succeed.

## Data
The main C++ program is compiled with "make". Running the resulting binary populates the "data" directory.

## Plots
The main Python script assumes already generated data in the "data" directory. Running "make plots" will make sure this dependency is satisied, by first compiling and running the main C++ code. The resulting plots will be located in the "figs" directory.

## Code structure
All helper functions are declared in the header file "include/functions.hpp", and their corresponding definitions in "src/functions.cpp". Unit tests are defined in "src/test.cpp" and main program logic in "src/main.cpp", both files compilable to separate executables.
