Cellular Automata Implementation of TPG Circuits for Built-In Two-Pattern Testing