making gpa work for range
added pdf writeup. added range function.