This link[
^] will give you a lot of references to help you get started.
After you have written some code of your own, if you get stuck, you should feel free to ask specific questions here. Be sure to include the lines of code where you are having the problem as well as providing a detailed description of your issue.