added new code as a tutorial on git hub