Implemenation of break. Fixes #10