Updated Class File

For MD5 and also correct Return statements