Programming assignments for getting credits on Coursera online courses