Updated script to do both Euler and Random methods

A bash script is included to run different permutations of the
variables. Note: this code will not work on windows with MinGW, it
lacks support for (most) c++11 features