Basic solution/EloquentJS solution
My solution: including negative numbers
EloquentJS solution
Changed naming style to remove chapter prefix
My solution/EloquentJS solution