artifical intelligance : simple maze