added lecture12 file, and completed programming exercise 5 on ml system design