added GUI code, AI vs AI