Replaces a few .begin()s with std::begin
Error missing ) in last commit
Replaces assert.h with cassert