Problem 7 Solved! Missing documentation, though.
Problem 7 : Added simple tests. Added assert function, probably will be moved.