add sum back in, fix min inital value, tidy up spaces in code and comment wording, add a sum test assertion
add sum back in, fix min inital value, tidy up spaces in
code and comment wording, add a sum test assertion

dom96/Nim,jsanjuas/Nim,jfhg/Nim,dom96/Nim,haiodo/Nim,russpowers/Nim,zachaysan/Nim,haiodo/Nim,endragor/Nim,jsanjuas/Nim,haiodo/Nim,jsanjuas/Nim,dom96/Nim,tulayang/Nim,russpowers/Nim,mbaulch/Nim,tulayang/Nim,zachaysan/Nim,endragor/Nim,singularperturbation/Nim,mbaulch/Nim,jfhg/Nim,dom96/Nim,haiodo/Nim,mbaulch/Nim,dom96/Nim,jfhg/Nim,jsanjuas/Nim,jsanjuas/Nim,mbaulch/Nim,haiodo/Nim,russpowers/Nim,endragor/Nim,zachaysan/Nim,jfhg/Nim,singularperturbation/Nim,mbaulch/Nim,endragor/Nim,zachaysan/Nim,tulayang/Nim,haiodo/Nim,mbaulch/Nim,dom96/Nim,singularperturbation/Nim,russpowers/Nim,singularperturbation/Nim,singularperturbation/Nim,jsanjuas/Nim,endragor/Nim,mbaulch/Nim,tulayang/Nim,russpowers/Nim,singularperturbation/Nim,tulayang/Nim,russpowers/Nim,zachaysan/Nim,tulayang/Nim,singularperturbation/Nim,haiodo/Nim,dom96/Nim,endragor/Nim,russpowers/Nim,jsanjuas/Nim,zachaysan/Nim,endragor/Nim,zachaysan/Nim,jfhg/Nim,jfhg/Nim,jfhg/Nim