Added implementation of simple maze solving.