implement md5 class