There are many sites which provide solutions. I\'ve seen them but they seemed very critical also time consuming. So I tried to do it my own way. The output was correct but s