Add algo0012
Use CUnit as test framework instead of Check