CMPT413 Homeworks.