Added solution for Smoker's problem

Signed-off-by: George Palathingal <georgejpalathingal@gmail.com>