added quad prob and fixed linear prob.  also added match 3 game