Submitting my code for Namshi code challenge.