Added Hashmap and methods for visited tiles -- copied from the Floor class