python modul for quarkcoin hashing algorithm