Added code to input_form.php to remember numberof words user selected after submitting form, added comments to controller.php.