Fixing the md5 hash function

Removing the use math.abs, which caused a difference between the java
and scala version becasue scala returns Ints, where java returns longs