Adding code for Chapter-2 exercises.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>