It is really important to abandon your ego when learning programing. The "smart" students who get everything immediately have spent hours on their own learning the material. That probably is the best way to learn the basics but the next best thing is to do as the author did.