10/9/2013 (7:41 PM CST): Added comments into the code, no major changes.