Added more comments; fixed line length