added category and difficulty columns to SQL
added output box with formatting and full functionality