I'm making a chess mistake explanation teaching software tool, is it corrrect and useful to say all chess mistakes are either allowing something or missing something? How can this be used as a algorithm base structure?