refactored path_weights and added test_path_weights
Merge branch 'master' of https://github.com/simzou/robots