Changed the underlying GridMap implementation from a matrix to a HashMap.
Added getLocation() method.