added basic level evaluation
changed num_visits parameter for automata cave gen to visits, and it's now a ratio between the number of visits and the size of the map, instead of the total number of visits. Also, some cleanup in level code