started square and clearBoard function