Second commit with take home

i have added the take home exam code along with test suit.