It is strongly recommended, that always do some paper work to design your solutions for the given problems. This approach will eliminate number of bugs that appear at the initial stage. It indeed plays a vital role when you writing a programme that contains more than 100 lines