displaying gradebook panel

add interpreting of the grades logic