indents fixed. next draft: set parameters for win, error loop for already taken positions