If you are just in the process of taking an intro to programming, then I would advice you to first concentrate on that material to get a grip of the basics. Once you are fluent with the basics you can start thinking about more complicated things.