Added tests 2-10 and implemented test solution for 0.
Merged.