Added computer turn logic.