Fixed indexing bug in for loop that initializes all squares