Code for the following video tutorial http://youtu.be/--GQ64pJeGo