Renamed some methods and variables in Algorithms and Visualization