Text this: Testing the Algorithm of Area Optimization by Binary Classification with Use of Three State 2D Cellular Automata in Layers