Prolog day 1. Tic Tac Toe.