Added Loop Ditty prototype in python