Finished the second part of tutorial 2