added my first self defined python snippet