removed diff file
Added Pattern Class, which checks if a node is valid for each pattern  and handles manipulation of a node