<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def md5sum( string ):
 """ Generate the md5 checksum for a string Args: string (Str):
 The string to be checksummed. Returns: (Str):
 The hex checksum. """

    h = hashlib.new( 'md5' )
    h.update( string.encode( 'utf-8' ) )
    return h.hexdigest()