Added a new post on writing piecewise functions