Copy codes from Ian Kuo. Fill in header and ParticleFilter.initialize(). Add to main().