Removed some spelling issues. Reformated code and changed some sentinces.