prepare student course list in lua