Code up-to Chapter# 12

Implemented code up-to chapter# 12.