Use strict '===' or '!==' when checking against integers.
Easier to read.
Easier to read.
Use strict '===' when checking integers.
Use strict checking for optional arguments; Added comment.
Use strict '===' or '!==' when comparing integers; Easier to read.
Use strict '===' or '!==' when comparing integers; Easier to read.
Use strict '===' or '!==' when comparing integers.
Allow for placing waypoint at every tile along path, not just where a change in direction occurs.
Updated comment.
Merge pull request #10 from Joncom/master

General code tidy and allowing for more frequent waypoints.