Fix beeping - correct translation of javascript to coffeescript

Fix #8
Add law tests
Fix and test grid collisions
Merge pull request #107 from TheSwanFactory/law-tests

Law Tests