addded functions to manipulate field in order to lookup similar patterns from memory of past games