Compile with -Wall.
Proper vector usage.