Defined other variable. Added comments to some of the code. Still need to put into differnet format.