Updating trigger from lab4 with check for required courses on registration, and application interaction as well as testdata for it.