adding function to add poem and delete poem