removed debugging puts statements
made solution not use a separate page
displays blanks rather than zeros
wip new button
added quote marks round attributes to make it work