added detectCollision() in GameBoard.java