Added arrow keys

now takes input from arrow keys
also checked to ensure go() function will work regardless of how the map
looks.