I just started learning programming and whenever im solving a problem, i like to draw out what each line of code does. By draw out, i mean that i go through each line and draw like a simple picture to see if that code is doing what i intended it to do. If a program doesnt run exactly as i pictured, i would go through each line of code and say,"ok this line of code does this. This one does that". I draw a simple picture of what each code does. I would keep going down the line of code until i see where i mess up. Is this a bad approach to learning as a beginner?