Update do_costdivide.js

removed do_test(), created new function that will take in variables and create table for the right-column HTML form, created hooray() as a finish to the last button created through custom form, made num_people a global variable for use in creating form