Sped up ValidMove and CreateBoard slightly.