Added code steps for exercise

I have added a step by step guide to solve the proposed exercise