extra newlines for clarity
make formatting consistent throughout
add while and for loops
add expression for array indexing and assignment