Added solution for Python tutorial 2