first task as an apprentice - create an unbeatable ttt in ruby, used negamax for computer player.