added path particle filter code to the repos
wrote resample code
small fix to prevent warnings