Implement AIProtocol & Demo AI

ToDo: Fix Bugs in AI class as well as in Demo AI
 - AI performs invalid moves
 - AI sometimes hangs in an endless loop
 - Processing order of commands in AI class is sometimes wrong