Added chap-3 namespace and a few functions I am trying out.