Adding tutorial1 code