add designated initializer and convenience constructor to BlogPost class