made the page more readable

by copious use of space
fixed compile errors
added headers