create BlogPost class with title and author variables