made some minor tweaks to md5 code