homework for modern programming course