Update students.py

Moved the entire database code in this module to the external script "sample_code.sdb".