Building up system

Added minimax agent. Win checker only checks along straight lines.