Main function added.
A better main.
Loop that: adds a ButtonElement for each of 7 randomly selected letters and adds each button to the DOM element identified by the CSS selector 'letterpile'.