Update on Extra2 and Extra3

Quick commit on Extra2 and Extra3.
Extra2 is updated with the description of the algorithm and Extra3 is
updated with comments and working code.