Creates the correct amount of boxes necessary to fill the screen regardless of screen size