complete half of chpt12
added complete algorithm 05 coursera.com lecture examples