fixed setting of entry and exit
added method to set a cell visited
working on right hand