The flam is both hands hitting the drum at nearly the same time. The grace note indicates that you should place the stick close to the drumhead and make the sound of the first note softer than the second. In order to do more than one flam in a row, you need to lift up the hand that plays the grace note to prepare for the next stroke. You also need to leave the accented note down to prepare for its next stroke.