test case
-Wall
performance optimization
comments: added link to SO discussion of IO part
test case
array intro