pseudocode for gpa and top calculations. wip on gpa calc