added a class for simple deadlock pattern matching
Merge branch 'master' of https://github.com/jonac/AI_project