Added pylab import to A1. Added show() command. This will make the code work properly if the user tries to run it themselves. The plot window is an xTerm (from OS) popup.