First version of week 3 programs.