fixed compilation stuff

MazeSolver was missing an include and wouldn't compile for me. 
Adding #include <cmath> fixed it for me.