Updated action.php's to include the right global constants.
Added index.html to algorithm-input to discourage crackers.