Added more details about running examples HTML and renamed method to finalCost()