Implement UUID v4 without dependencies