Plotting Piecewise Functions In Python For Beginners