Added 2 functions to chk seat availability before enrollement and
whether student is already enrolled