Added code to send messages when player enter a gate. (Issue #15)