1. Simplified the validation logic for string input using valid_letter_grade_array
2. Moved the mark to letter grade conversion logic to separate function called mark_to_grade(mark)
3. Added comments to mark_to_grade function