added counts of heads and tails; moved shuffle into Array.prototype
refactoring
moved all ui-code to bottom of file
new algorithm to simulate coin toss - want more even number of heads/tails so mean is nearer zero
back to simpler algorithm
version with no use of shuffle