changes to loops,and industry, personal functions

made changes to loops,and industry, personal functions Industry and
personal functions are now working. made some changes to the wacky
function still not working