Added a test mode to test an agent's learned data.
Added a function to get immediately adjacent tiles.