completed AI for Hard level