Added id attribute to td elements of table hosts
Added id attribute to td tags in hostname table within get_selected
function and implemented .each function to modify the status of each
host.