Write a BNF grammar for the language of University of Memphis undergrad course codes. Examples of the format of those course codes can found at http://catalog.memphis.edu/content.php?catoid=3&navoid=76 (ignore the part after the course number)
Example course codes:
COMP 4040
MAT 2354
PHY 4583