added main.m, which find the spectogram for a single event