added html code and javascript to generate grid based on user input.