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