fixed a bug that didn't alert you if your move was invalid
impleted additional logic to being to guide the computer's decisions