Refactored poetry search form to generate poetry based on drop-downs