updated model with new function

changed function get_courses to be able to search with 0, 1, or 2
arguments. The user can search as if in a grid now by providing semester
and position.