Structure for experiments

- stub for experiment 2 with two pthreads that share access to an array
of longs
Experiment 2

- gets killed when running pthreadsafter 400000 * long
Major and minor changes

- restructured creation of output files
- moved mutexes to allow uninterrupted access to shared data
- implementation of tests 2, 3, and 4