Added code for chapter1 Junit