Python Code Written for NC State MSA Program