Update naughts.js

Changed the arrangement of the related-cell calculations [faira - faird] to make their purpose more obvious and reduce vertical spacing.