Fixed some typos
Added comments