Building a grid-based sample sequencer in Max/MSP