added diagonal check
Merge branch 'master' of github.com:raysaagar/signalfire