working fine with chars now
Now works with unsigned char vectors instead of int vectors