refactored app to remove init function and run the createSquares function when users submit their names.