added check for nil hash value for display_misconceptions in display_answers