created Entry class to represent an entry's content and date.