added var to shorten lines

added m = map[y][x]