Fixed typos and compiled.