#19: add click events for html buttons
#19: click events depend on two functions - algorithm(), and draw()
Merge pull request #20 from jeff1evesque/js_button_actions

js button actions