UUID version 4 implementation