made state analyzer and move director dependable on each other
implemented legal moves filtering