Code up-to Chapter# 16

Implementation of code upto chapter# 16.