Minor fixes
Remember to save before commit :P
0 shouldn't be in index
Fixed #8
Fix for #10
No more napa!
Merge pull request #2 from nicklondhe/master

Updated code