Changed formatting to the K&R style, and added style guide.