An Automated Tool to Detect Variable Sources in the Vista Variables in the Vía Láctea Survey: The VVV Variables (V4) Catalog of Tiles d001 and d002