fixed tractor algorithm
Merge branch 'master' of github.com:jasonq/comp4903