function diff(old, current){
    console.log(old);
    console.log(current);
    //  check if table of marks for any course has been added.
    var t1 = Object.keys(old), t2 = Object.keys(current);