course table genertor