A lab assignment to implement a particle filter