Start smaller and practice.

It's hard to tell you how to overcome obstacles without knowing the obstacles. What are you trying to accomplish by reading other people's code? Then, what...