Alternate AI logic -- accomodates vavying difficulty and all possible directions of movement