added gpa function
Merge pull request #6 from somejedi/add-gpa

added gpa function