creating a javascript file ch7.js
adding a function makeRoad to create road with its starting point and destination
creating an object called roads to store the road record
adding a link between javascript.html and ch7.js
creating a function roads from to display roads from a given road name
calling a function roads from javascript.html page
creating a function to gamble the path to take
creating a function member and foreach function
adding line to force the function member to break when it has immeadiately found an element
creating any function to return something when member breaks
creating another function partial to deal with partial in function member
adding other functions to be used in ex. 7.2
creating another function filter to filter our data
modifying Ex. 7.2 to be more smart
calling a function possibleRoutes by applying console.log
creating a function shortestRoute to find the shorter route
creating a function minimise to modify Ex. 7.3
creating a function weightedDistance
creating 3 functions to deal with points from our landscape
creating Ex. 7.4 to determine the directions