Added A* algorithm; Model optimizations

Also tweaked generator script so to generate ETC's with less tasks/machines