visualize_p_weights() : generates a plot of particle positions vs weights (function is called as particles get updated in the scan_received callback)