Bug fixes

Fixed bug where grades that werent' actually finished were factored
into the shown average.
Fixed bug with exam output for students who didn't finish their test
being in wrong columns and order.