add day 3 ex 7 (particle class not complete)