Fixed some typos and added more for loops.