Added assert function, removing the stacktrace script

Completed #5, build 0267