Solved problem 1

Hope to be a smart debugger!