Generate random board of size n