Finished my Excerice 7

submitted by Sascha Baer

Added test with testcases that check if the calculation is correct
in run_check.sh.
In the directory sols/ are the expected results.

Added comments on time measurement and the modularisation design decision.