Added solver class

The class that auto navigates maze