modify courses table and prereq

make prereq a weak entity of courses