added the google python class code
added the repeat fuction