Made main a function
Made main a function

added waypoint construction
return None or a list of waypoints

hilts-vaughan/internet-computing-wlu,hilts-vaughan/internet-computing-wlu,hilts-vaughan/internet-computing-wlu,hilts-vaughan/internet-computing-wlu