replaced excel code on the main for with SQL

functions student exists, tutor list (commented out at the moment), and
get name