Added program to plot the ideal pulse train