ValidateMap class implemented (not tested)

added validatePath function which uses a boolean [ ][ ] to store correct
path