formatting and commenting

commented everything and fixed some formatting
also fixed some grammar and added some typos just to spice things up a bit